NULL = 

AUTOMAKE_OPTIONS = subdir-objects

SUBDIRS = \
	po \
	$(NULL)
pkgdir=$(prefix)/rob/actions

librobruncommanddir=$(pkglibdir)/rob/actions
librobruncommand_LTLIBRARIES = librobruncommand.la

AM_CPPFLAGS = \
	$(RUNCOMMAND_CFLAGS) \
	-include $(CONFIG_HEADER) \
	-I$(top_srcdir)/src \
	$(NULL)

BUILT_SOURCES = src/runcommand.vala.stamp


librobruncommand_VALASOURCES = \
	src/robruncommand.vala \
	src/robruncommandwidget.vala \
	$(NULL)

librobruncommand_la_SOURCES = \
	$(librobruncommand_VALASOURCES:.vala=.c) \
	$(librobruncommand_VALASOURCES:.vala=.h) \
	$(NULL)

src/runcommand.vala.stamp: $(librobruncommand_VALASOURCES)
	$(VALAC)  -C --pkg gtk+-2.0 --pkg librob-1.0 --basedir $(top_srcdir) $^
	touch $@

#librobruncommand_LDADD = \
#	$(RUNCOMMAND_LIBS) \
#	$(NULL)

librobruncommand_includedir=$(prefix)/include/rob
librobruncommand_include_DATA=\
	    $(librobruncommand_VALASOURCES:.vala=.h)\
	    $(NULL)

EXTRA_DIST = \
	intltool-extract.in \
	intltool-update.in \
	intltool-merge.in \
	$(librobruncommand_VALASOURCES) \
	src/runcommand.vala.stamp \
	$(NULL)

DISTCLEANFILES = \
	intltool-extract \
	intltool-update \
	intltool-merge \
	po/.intltool-merge-cache \
	$(librobruncommand_SOURCES) \
	$(NULL)

